package padrao2;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("retrieve")
public class Retrieve {
	@XStreamAsAttribute
	private String endpoint, uri;
	
	public String getEndpoint() {
		return endpoint;
	}
	
	public void setEndpoint(String endpoint) {
		this.endpoint = endpoint;
	}
	
	public String getUri() {
		return uri;
	}
	
	public void setUri(String uri) {
		this.uri = uri;
	}	
	
	public void exec() {
		System.out.println("Executando..." + endpoint + ":" + uri);
	}
}
